package cn.sys.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Log {
    private Integer id;

    private String loginname;

    private String loginip;

    // 从后端到前端的日期格式化
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date logintime;
}